<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%@ include file="/elements/head.jsp"  %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<div id="main">
			<div class="mainbox">
				<div class="title readMessage png"></div>
				<div class="menu">
					<span><a href="Userservlet?opr=recall&msgid=${sessionScope.receivemsg.msgid}">回信</a></span>
					<span><a href="Userservlet?opr=mymsg">返回</a></span>
					<span>当前用户：<a href="javascript:viod(0)">${sessionScope.userload.username}</a></span>
					<span><a href="Userservlet?opr=sendmsg">发短消息</a></span>
					<span><a href="Userservlet?opr=logout">退出</a></span>
				</div>
				<div class="content">
					<div class="message">
							<div class="tmenu">
								<ul class="clearfix">
									<li>题目： ${sessionScope.receivemsg.title }</li>
									<li>来自：${sessionScope.receivemsg.username }</li>
									<li>时间：${sessionScope.receivemsg.sendtime }</li>									
								</ul>
							</div>
					  	 	<div class="view">
								<p>${sessionScope.receivemsg.content }</p>
							</div>
					</div>
				</div>
			</div>
		</div>
		<c:remove var="receivemsg" scope="session"/>
</body>
</html>